package com.sgcc.operate.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * 活动奖品费用对象 o_prize_cost
 * 
 * @author sgcc
 * @date 2021-03-25
 */
public class OPrizeCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 奖品费用ID */
    @Excel(name = "奖品费用ID")
    private String id;

    /** 活动ID */
    @Excel(name = "活动ID")
    private String actiid;

    /** 奖品ID */
    @Excel(name = "奖品ID")
    private String prizeid;

    /** 奖品类型 */
    @Excel(name = "奖品类型")
    private String prizetype;

    /** 奖品名称 */
    @Excel(name = "奖品名称")
    private String prizename;

    /** 奖品单价 */
    @Excel(name = "奖品单价")
    private String prizeprice;

    /** 奖品数量 */
    @Excel(name = "奖品数量")
    private String prizequant;

    /** 奖品金额 */
    @Excel(name = "奖品金额")
    private String prizeamount;

    /** 单项中奖概率 */
    @Excel(name = "单项中奖概率")
    private BigDecimal sinProb;

    /** 奖品金额 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "奖品金额", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setActiid(String actiid) 
    {
        this.actiid = actiid;
    }

    public String getActiid() 
    {
        return actiid;
    }
    public void setPrizeid(String prizeid) 
    {
        this.prizeid = prizeid;
    }

    public String getPrizeid() 
    {
        return prizeid;
    }
    public void setPrizetype(String prizetype) 
    {
        this.prizetype = prizetype;
    }

    public String getPrizetype() 
    {
        return prizetype;
    }
    public void setPrizename(String prizename) 
    {
        this.prizename = prizename;
    }

    public String getPrizename() 
    {
        return prizename;
    }
    public void setPrizeprice(String prizeprice) 
    {
        this.prizeprice = prizeprice;
    }

    public String getPrizeprice() 
    {
        return prizeprice;
    }
    public void setPrizequant(String prizequant) 
    {
        this.prizequant = prizequant;
    }

    public String getPrizequant() 
    {
        return prizequant;
    }
    public void setPrizeamount(String prizeamount) 
    {
        this.prizeamount = prizeamount;
    }

    public String getPrizeamount() 
    {
        return prizeamount;
    }
    public void setSinProb(BigDecimal sinProb) 
    {
        this.sinProb = sinProb;
    }

    public BigDecimal getSinProb() 
    {
        return sinProb;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("actiid", getActiid())
            .append("prizeid", getPrizeid())
            .append("prizetype", getPrizetype())
            .append("prizename", getPrizename())
            .append("prizeprice", getPrizeprice())
            .append("prizequant", getPrizequant())
            .append("prizeamount", getPrizeamount())
            .append("sinProb", getSinProb())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
